package com.li.test.base.jdkproxy;

import java.io.IOException;

public class RpcPrivide {
    public static void main(String[] args) {
        IHelloService helloService = new HelloServiceImpl();
        try {
            RpcJdkProxy.export(helloService, 2333);
        } catch (IOException e) {
            e.printStackTrace();
        }

    }
}
